import request from './request'

export const adduser = (data) => {
  return request({
    url: '/api/leader/Register',
    method: 'POST',
    data
  })
}

export const addusertoclass = (data) => {
  return request({
    url: '/api/student/joinClass',
    method: 'POST',
    data
  })
}
